$pd = 20px

.ivu-icon.fa
  font-family 'FontAwesome'

.main
  & >>> .ivu-form-item-content
    // line-height 32px !important
    & >>> .ivu-input-wrapper
      .fa
        line-height 32px !important
        font-size 16px !important

.main-search, .main-btn-group, .main-table-data, .main-detail
  padding-bottom $pd

.main-btn-group
  .ivu-btn
    margin-right 10px

.main-search
  .main-search-form
    max-width 1200px
    .main-search-btn-group
      white-space nowrap
      & >>> .ivu-btn
        margin-right 10px
      & >>> .ivu-form-item-content
        margin-left 0px !important
    & >>> .ivu-form-item
      margin-bottom 10px
      .ivu-form-item-label
        font-size 14px
        padding-right 6px
      .ivu-date-picker
        width 100%

.main-page
  margin-top 10px

.main-select-tree
  & >>> .ivu-tree-children
    li
      margin 8px 0
      line-height normal
      font-size 14px
      cursor default
  & >>> .ivu-select-selection
    height 32px
    & div
      height 32px

.main-table
  border-width 0px
  & >>> .ivu-table
    &:before
      height 0px
    &:after
      width  0px
  & >>> .ivu-table-header
    font-size 14px
    thead
      background #eee
  & >>> .ivu-table th
    background-color transparent
    border-bottom-width 0px
    white-space nowrap
  & >>> .ivu-table-body
    font-size 14px
    .ivu-table-row-highlight
      td
        background #ddd
        color #2d8cf0
  & >>> .ivu-table td
    // border-bottom-width 0px
  & >>> .ivu-table-row-hover
    background #eee
    td
      background #eee

.main-tree-table
  & >>> .zk-table__header
    font-size 14px
    thead
      background #eee
      .zk-table__header-row
        background #eee
  & >>> .zk-table__body
    font-size 14px
    .zk-table--empty-row
      height 48px
      .zk-table--empty-content
        font-size 12px
        height 48px
  & >>> .zk-table--row-hover
    background #eee
  &.s-tree
    border-radius 4px
    & > div
      border-radius 4px
    & >>> .header
      font-size 14px
      background #eee
    & >>> .row
      .cell
        word-break break-all
    //   &:hover > div
    //     background #eee
    // & >>> .s-tree-children
    //   font-size 12px

.main-detail
  font-size 14px
  .view-col
    margin-bottom 20px
    .detail-label
      display inline-block
      width 110px
      text-align right
      vertical-align middle
    .detail-text
      display inline-block
      font-weight bold
      color #888
      vertical-align middle

.main-form-modal
  & >>> .ivu-modal
    .ivu-modal-content
      // border-radius 0px 0px 6px 6px
      .ivu-modal-close
        .ivu-icon
          font-size 26px
          font-weight bold
          color #f56c6c
          text-shadow 1px 1px 2px rgba(0, 0, 0, .9)
          &:hover
            color #f56c6c
          &:active
            text-shadow 1px 1px 2px rgba(0, 0, 0, .9) inset
      .ivu-modal-header
        // border-bottom 0px
        background #f3f3f3
        padding 10px 16px
        border-radius 6px 6px 0px 0px
      .ivu-modal-footer
        border-top 1px solid #eee
      .ivu-input-number
        width 100%
.modal-form, .main-form
  & >>> .ivu-form-item
    margin-bottom 20px
    .ivu-form-item-label
      font-size 14px
      padding-right 6px
.modal-form-inline, .main-form-inline
  & >>> .ivu-form-item
    margin-bottom 20px
    .ivu-form-item-label
      font-size 14px
      padding-right 6px
      padding-bottom 4px

.input-click-btn
  display flex
  & >>> .ivu-input-wrapper
    .ivu-input-inner-container
      input
        cursor not-allowed
  button
    margin-left 10px
    & >>> span
      vertical-align unset

.form-tab-modal
  & >>> .ivu-modal-body
    padding 0px
    .ivu-tabs-bar
      margin-bottom 0px
    .ivu-tabs-content
      .ivu-tabs-tabpane
        padding 16px

.modal-form-block
  .modal-form-block-item
    .modal-form-block-item-header
      border-bottom 1px solid #ccc
      margin-bottom 16px
      .modal-form-block-item-title
        font-size 16px
.desc-cont
  vertical-align middle
  font-size 14px
  .desc-main-cont
    display inline-block
    padding 10px 0px
    box-sizing border-box
    line-height 1

.normal-size-tree
  & >>> .ivu-tree-empty
    line-height 34px
    font-size 14px
  & >>> .ivu-tree-title
    font-size 14px

.main-select-tree
  & >>> .ivu-select-dropdown-list
    padding-left 5px

.main-refresh-card-header-block
  .card-header-block-left
    float left
  .card-header-block-right
    float right
    span
      margin-left 6px
    .refresh-time
      font-size 12px
      font-weight bold
      color #333333
      margin-right 6px
